package com.schoolcloud.social.vo;

import com.schoolcloud.social.entity.SocPost;
import com.schoolcloud.social.entity.SocPostFile;
import com.schoolcloud.social.entity.SocPostTags;
import lombok.Data;

import java.util.List;

@Data
public class SocPostItemVO extends SocPost {
    private String avatar;
    private String nickname;
    /**
     *点赞数
     */
    private Long likes;
    /**
     *登录人是否已点赞
     */
    private Boolean isLike;
    /**
     *评论数
     */
    private Long remarks;
    /**
     *帖子的文件数据，该方式不支持在文本中插入图片或者视频
     */
    private List<SocPostFile> files;
    /**
     *关联的标签
     */
    private List<SocPostTags> tags;
}
